package com.qf.feign;
import com.qf.entity.StockParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.List;
/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 你的名字
 * @Date: 2021/07/22/20:50
 * @Description:
 */
@FeignClient(name = "goods",path = "/goods")
public interface StockService {
    @RequestMapping("/lock")
    boolean lockStock(List<StockParam> stockParamList);
}
